import request from '@/utils/request'

export class IdentifierService {

// 查询鉴定人列表
  static listIdentifier(query) {
    return request({
      url: '/api/archives/identifier/list',
      method: 'get',
      params: query
    })
  }

// 查询鉴定人详细
  static getIdentifier(identifierId) {
    return request({
      url: '/api/archives/identifier/' + identifierId,
      method: 'get'
    })
  }

// 新增鉴定人
  static addIdentifier(data) {
    return request({
      url: '/api/archives/identifier',
      method: 'post',
      data: data
    })
  }

// 修改鉴定人
  static updateIdentifier(data) {
    return request({
      url: '/api/archives/identifier',
      method: 'put',
      data: data
    })
  }

// 删除鉴定人
  static delIdentifier(identifierId) {
    return request({
      url: '/api/archives/identifier/' + identifierId,
      method: 'delete'
    })
  }
}
